<?php
namespace model;
use model;
class customerModel extends model{

    public static function login( $name, $password ){

        $sql = "select * from sh_customer where name='". $name
            ."' and password='". $password ."' ";
        $result = self::$db->query( $sql );
        return !empty($result->row)?$result->row:false;



    }


}